package com.sg.vo;

import java.sql.Timestamp;

/**
 * @author zh
 * 帖子表+用户+帖子状态+帖子类型
 */
public class InvitationVO {
    /**
     *帖子编号
     */
    private int invitationId;

    /**
     *帖子标题
     */
    private String title;

    /**
     *帖子内容
     */
    private String invitationContent;

    /**
     *用户编号
     */
    private int uId;

    /**
     *发布时间
     */
    private Timestamp createDate;

    /**
     *帖子状态编号
     */
    private int isId;

    /**
     *帖子类型编号
     */
    private int itId;

    /**
     *是否已删除
     */
    private int isDelete;
    /**
     * 用户名称
     */
    private String uName;
    /**
     *帖子状态名称
     */
    private String isName;
    /**
     *帖子类型名称
     */
    private String itName;

    public InvitationVO() {
    }

    public InvitationVO(int invitationId, String title, String invitationContent, int uId, Timestamp createDate, int isId, int itId, int isDelete, String uName, String isName, String itName) {
        this.invitationId = invitationId;
        this.title = title;
        this.invitationContent = invitationContent;
        this.uId = uId;
        this.createDate = createDate;
        this.isId = isId;
        this.itId = itId;
        this.isDelete = isDelete;
        this.uName = uName;
        this.isName = isName;
        this.itName = itName;
    }

    @Override
    public String toString() {
        return "InvitationVO{" +
                "invitationId=" + invitationId +
                ", title='" + title + '\'' +
                ", invitationContent='" + invitationContent + '\'' +
                ", uId=" + uId +
                ", createDate=" + createDate +
                ", isId=" + isId +
                ", itId=" + itId +
                ", isDelete=" + isDelete +
                ", uName='" + uName + '\'' +
                ", isName='" + isName + '\'' +
                ", itName='" + itName + '\'' +
                '}';
    }

    public int getInvitationId() {
        return invitationId;
    }

    public void setInvitationId(int invitationId) {
        this.invitationId = invitationId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getInvitationContent() {
        return invitationContent;
    }

    public void setInvitationContent(String invitationContent) {
        this.invitationContent = invitationContent;
    }

    public int getuId() {
        return uId;
    }

    public void setuId(int uId) {
        this.uId = uId;
    }

    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    public int getIsId() {
        return isId;
    }

    public void setIsId(int isId) {
        this.isId = isId;
    }

    public int getItId() {
        return itId;
    }

    public void setItId(int itId) {
        this.itId = itId;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getIsName() {
        return isName;
    }

    public void setIsName(String isName) {
        this.isName = isName;
    }

    public String getItName() {
        return itName;
    }

    public void setItName(String itName) {
        this.itName = itName;
    }
}
